﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace MyFloridaHouse.libSvOpenDistricts.ViewModel
{
    public partial class ViewModelBase
    {
        #region properties
        private bool _isGetNonContiguousDistrictsVisible = true;
        public bool isGetNonContiguousDistrictsVisible
        {
            get { return _isGetNonContiguousDistrictsVisible; }
            set
            {
                if (_isGetNonContiguousDistrictsVisible != value)
                {
                    _isGetNonContiguousDistrictsVisible = value;
                    NotifyPropertyChanged("isGetNonContiguousDistrictsVisible");
                }
            }
        }
        #endregion

        #region Commands
        private bool CmdToolsGetNonContiguousDistrictsCanExecute(object parameter)
        {
            return true;
        }

        private void CmdToolsGetNonContiguousDistrictsExecute(object parameter)
        {
            isGetNonContiguousDistrictsVisible = true ;
        }
        #endregion
    }
}
